package com.yonyou.ucf.mdf.app.isvdxq.secondpart.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "isv_videolog")
public class VideologEntity extends BaseEntity {

    private Long id;

    @YMSColumn(name = "ytenant_id")
    private String ytenant_id;

    //文件名
    private String name;

    //状态 0未同步 1已同步
    private int status;

    //0监控 1记录仪
    private int type;

    //'删除标记'
    private int dr;

    //'版本'
    private Integer version;

    //timestamp COMMENT '时间戳'
    private String pubts;

    // datetime COMMENT '创建时间',
    @YMSColumn(name = "create_time")
    private String create_time;

    //'创建人'
    private String creator;

    //'创建人'
    private String creatorName;

    //'修改时间',
    @YMSColumn(name = "modify_time")
    private String modify_time;

    //'修改人',
    private String modifier;

    //'修改人',
    private String modifierName;

    // 视频路径
    private String url;

    // 视频开始时间
    private String begintime;

    // 视频结束时间
    private String endtime;

    // 单号
    private String orderCode;

    // 模块名称
    private String moduleName;

    // 操作员
    private String operators;

    // 设备名称
    private String deviceCode;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getYtenant_id() {
        return ytenant_id;
    }

    public void setYtenant_id(String ytenant_id) {
        this.ytenant_id = ytenant_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getDr() {
        return dr;
    }

    public void setDr(int dr) {
        this.dr = dr;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getPubts() {
        return pubts;
    }

    public void setPubts(String pubts) {
        this.pubts = pubts;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getModifierName() {
        return modifierName;
    }

    public void setModifierName(String modifierName) {
        this.modifierName = modifierName;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getOperators() {
        return operators;
    }

    public void setOperators(String operators) {
        this.operators = operators;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getBegintime() {
        return begintime;
    }

    public void setBegintime(String begintime) {
        this.begintime = begintime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }
}
